<!DOCTYPE html>

<html>

	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
		<title>登录</title>
		<link rel="stylesheet" href="/plugins/layui/css/layui.css" media="all" />
		<link rel="stylesheet" href="/css/login.css" />
		<link rel="stylesheet" href="/plugins/font-awesome/css/font-awesome.min.css" />
	</head>

	<body class="beg-login-bg">
		<div class="beg-login-box">
			<header>
				<h1 align="center"><font size="5" color="white">挖链网TIR后台登录</font></h1>
			</header>
			<div class="beg-login-main">
				<form action="/loginSys" class="layui-form" method="post"><input name="__RequestVerificationToken" type="hidden" value="fkfh8D89BFqTdrE2iiSdG_L781RSRtdWOH411poVUWhxzA5MzI8es07g6KPYQh9Log-xf84pIR2RIAEkOokZL3Ee3UKmX0Jc8bW8jOdhqo81" />
					<div class="layui-form-item">
						<label class="beg-login-icon">
                        <i class="layui-icon">&#xe612;</i>
                    	</label>
						<input type="text" name="userName" lay-verify="userName" value="" autocomplete="off" placeholder="这里输入登录名" class="layui-input">
					</div>
					<div class="layui-form-item">
						<label class="beg-login-icon">
                        <i class="fa fa-lock"></i>
                    </label>
						<input type="password" name="password" lay-verify="password" value="" autocomplete="off" placeholder="这里输入密码" class="layui-input">
					</div>
					 <div class="layui-form-item">
                
            <div class="layui-inline">
            <div class="beg-pull-left beg-login-remember">
                <input type="text" name="vrifyCode" class="layui-input" style="width: 140px;" lay-verify="code" placeholder="验证码" maxlength="4"/>
           </div>
           <div class="beg-pull-right">
           <img src="kaptcha" onclick="getImage(this)" title="单击刷新验证码" id="img_rand_code" alt="" >
           </div>
           
            </div>
        </div>
        
					<div class="layui-form-item">
						<div class="beg-pull-left beg-login-remember">
							<label>记住帐号？</label>
							<input type="checkbox" name="rememberMe" value="true" lay-skin="switch" checked title="记住帐号">
						</div>
						<div class="beg-pull-right">
							<button class="layui-btn" lay-submit lay-filter="login" style="width: 120px;">
                                                                      登录
                        </button>
						</div>
						<div class="beg-clear"></div>
					</div>
				</form>
				<div style="color: #DC143C;text-align: center;">
					<#if msg??>${msg}</#if>
				</div>
			</div>
			<footer>
				<p align="center">小虫科技 © www.xiaochong.com</p>
			</footer>
		</div>
		<script type="text/javascript" src="/plugins/layui/layui.js"></script>
		<script>
		//刷新验证码
		function getImage(temp) {
			
			temp.src="kaptcha?_"+Date.now();
		    
		}
			layui.use(['layer', 'form'], function() {
				var layer = layui.layer,
					$ = layui.jquery,
					form = layui.form;
//				form.on('submit(login)',function(data){
//					location.href='index.html';
//					return false;
//				});

             
			});
			
			
		</script>
	</body>

</html>